/**
 * author: tuhui
 * Date: 2017/12/6
 * Time: 下午5:22
 * 水平分割线
 */


import React, {Component} from 'react';
import {
    StyleSheet,
    View
} from 'react-native';
import colors from './colors';
import PropTypes from 'prop-types';

export default class DividerLineH extends Component{

    static propTypes = {
        style: PropTypes.object,
    };

    render() {
        return (
            <View style={[styles.container,this.props.style]} />
        );
    }
}

const styles = StyleSheet.create({
    container: {
        backgroundColor: colors.dividerColor,
        height: 1,
        width:'100%',
    }
});